package ua.kpi.javaTraining;

/**
 * Class, describing student
 * 
 * @param name
 *            Student name
 * @param phoneNumber
 *            Student's phone number
 * @author Timur Suleimanov
 */
public class Student extends Person {
	private boolean isHead;

	public Student(String name, String phoneNumber) {
		super(name, phoneNumber);
	}

	public boolean isHead() {
		return isHead;
	}

	public String toString() {
		return String.format("Student's name %s, Student's phone Number %s",
				this.getName(), this.getPhoneNumber());
	}
}